package com.yztc.xiami_app.ui.goods.model;

import com.yztc.xiami_app.bean.goods.GoodsBean;
import com.yztc.xiami_app.constant.URLConstant;
import com.yztc.xiami_app.http.HttpUtils;

import java.util.Map;

import rx.Observable;

/**
 * Created by 周旭 on 2016/11/15.
 * "商品列表"的Model层的实现
 */

public class GoodsModelImpl implements GoodsModel {
    @Override
    public Observable<GoodsBean> getGoodsBean(Map<String,Object> params) {
        return  HttpUtils.getGoodsData(params,URLConstant.URL_GOODS_BASE);
    }
}
